package com.ryan.route.service;

import com.ryan.route.entity.RouteComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author ryan
 * @since 2020-08-03
 */
public interface RouteCommentService extends IService<RouteComment> {

    /**
     * 根据路线id获取路线评论列表
     * @param pageIndex
     * @param pageSize
     * @param routeId
     * @return
     */
    Map<String, Object> GetCommentList(long pageIndex, long pageSize, String routeId);
}
